package com.cobo.fitness.core.meillisearch;

import com.meilisearch.sdk.model.Searchable;

import java.util.List;

public interface SearchApi {

    void search(String index,String name);

    Searchable search(String index, String name, int offset, int limit);

    Searchable search(String index, String name,String[]filter, int offset, int limit);

    void addDocument(String index, List<?> docs);

    void updateFilter(String indexName, String[] nameArray);
}
